Package com.cisco.pt.ipc.sim.impl
Class CloudPotsPortImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.PortImpl
com.cisco.pt.ipc.sim.impl.CloudPotsPortImpl
- All Implemented Interfaces:
IPCObject,CloudPotsPort,Port,Process
Information provided by the PKI file:
\class CloudPotsPort
\brief CloudPotsPort is POTS (Modem) port on a Cloud device.
\example network().getDevice("Router0").getPort("Modem4")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCloudPotsPortImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:voidsetPhoneNumber(String phoneNumber) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.PortImpl
deleteLink, getBandwidth, getBia, getChannel, getClockRate, getDescription, getEncapProcess, getHardwareQueue, getHigherProcessCount, getKeepAliveProcess, getLightStatus, getLink, getMacAddress, getName, getPortNameNumber, getPower, getQosQueue, getTerminalTypeShortString, getType, isAutoCross, isBandwidthAutoNegotiate, isDuplexAutoNegotiate, isEthernetPort, isFullDuplex, isPortUp, isPowerOn, isProtocolUp, isStraightPins, isWirelessPort, setBandwidth, setBandwidthAutoNegotiate, setChannel, setClockRate, setDescription, setDuplexAutoNegotiate, setFullDuplex, setMacAddress, setPowerMethods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Port
deleteLink, getBandwidth, getBia, getChannel, getClockRate, getDescription, getEncapProcess, getHardwareQueue, getHigherProcessCount, getKeepAliveProcess, getLightStatus, getLink, getMacAddress, getName, getPortNameNumber, getPower, getQosQueue, getTerminalTypeShortString, getType, isAutoCross, isBandwidthAutoNegotiate, isDuplexAutoNegotiate, isEthernetPort, isFullDuplex, isPortUp, isPowerOn, isProtocolUp, isStraightPins, isWirelessPort, setBandwidth, setBandwidthAutoNegotiate, setChannel, setClockRate, setDescription, setDuplexAutoNegotiate, setFullDuplex, setMacAddress, setPowerMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
CloudPotsPortImpl
public CloudPotsPortImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setPhoneNumber
Information provided by the PKI file:
\brief Sets the phone number for this port. \param phoneNumber, the phone number to set for this port. Phone number format: 5559991234- Specified by:
setPhoneNumberin interfaceCloudPotsPort- Parameters:
phoneNumber- Takes in a parameter of phoneNumber
-
getPhoneNumber
Information provided by the PKI file:
\brief Returns the phone number for this port. \return string, the phone number for this port.- Specified by:
getPhoneNumberin interfaceCloudPotsPort- Returns:
- String Returns a String
-